﻿using AutoMapper;
using BCDto.TMS.TrainingSite.TrainingSiteBusinessHours;
using BCDto.TMS.TrainingSite.TrainingSiteConfig;
using BCEntity.TMS.TrainingSite.TrainingSiteBusinessHours;
using BCEntity.TMS.TrainingSite.TrainingSiteConfig;

namespace BCService.MapperProfiles.TMS.Packing
{
    public class TrainingSiteProfile : Profile
    {
        public TrainingSiteProfile()
        {
            CreateMap<TrainingSiteConfigEntity, TrainingSiteConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            CreateMap<TrainingSiteBusinessHoursEntity, TrainingSiteBusinessHoursDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
        }
    }
}
